package org.xxpay.service.dao.mapper;

import org.apache.ibatis.annotations.Param;
import org.xxpay.core.entity.ChannelAgentMchChannelInfo;
import org.xxpay.core.entity.ChannelAgentMchChannelInfoExample;

import java.util.List;

public interface ChannelAgentMchChannelInfoMapper {
    int countByExample(ChannelAgentMchChannelInfoExample example);

    int deleteByExample(ChannelAgentMchChannelInfoExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ChannelAgentMchChannelInfo record);

    int insertSelective(ChannelAgentMchChannelInfo record);

    List<ChannelAgentMchChannelInfo> selectByExample(ChannelAgentMchChannelInfoExample example);

    List<ChannelAgentMchChannelInfo> selectByChannelAgentMchId(Long channelAgentMchId);

    ChannelAgentMchChannelInfo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ChannelAgentMchChannelInfo record, @Param("example") ChannelAgentMchChannelInfoExample example);

    int updateByExample(@Param("record") ChannelAgentMchChannelInfo record, @Param("example") ChannelAgentMchChannelInfoExample example);

    int updateByPrimaryKeySelective(ChannelAgentMchChannelInfo record);

    int updateByPrimaryKey(ChannelAgentMchChannelInfo record);
}